package oo7;

public abstract class Vechile {
	private String no;
	private double money;
	// ....
	// 出租状态，False可租，true已经出租
	private boolean rentState = false;

	public abstract double calcMoney(int days);

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public boolean isRentState() {
		return rentState;
	}

	public void setRentState(boolean rentState) {
		this.rentState = rentState;
	}

}
